package com.tanhua.dubbo.api.impl;


import com.tanhua.dubbo.api.SoulPaperApi;
import com.tanhua.dubbo.mapper.SoulPaperMapper;
import com.tanhua.dubbo.pojo.SoulPaper;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService(version = "1.0.0")
public class SoulPaperApiImpl implements SoulPaperApi {

    @Autowired
    private SoulPaperMapper soulPaperMapper;

    @Override
    public SoulPaper selectById(int i) {
        return soulPaperMapper.selectById(i);
    }
}
